﻿using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using System;
using System.ComponentModel.DataAnnotations;

namespace Teleware.Newbe.Navigation.Web.Domain.Entities
{
    public class InfoTag : AggregateRoot<string>, IFullAudited<Account>, IOrdered
    {
        [Required]
        public string Text { get; set; }

        public DateTime CreationTime { get; set; }
        public long? CreatorUserId { get; set; }
        public DateTime? LastModificationTime { get; set; }
        public long? LastModifierUserId { get; set; }
        public virtual Account CreatorUser { get; set; }
        public virtual Account LastModifierUser { get; set; }
        public bool IsDeleted { get; set; }
        public DateTime? DeletionTime { get; set; }
        public long? DeleterUserId { get; set; }
        public virtual Account DeleterUser { get; set; }
        public string OrderNo { get; set; }
    }
}
